#pragma once

class CCClientProcess
{
public:
    CCClientProcess();
    ~CCClientProcess();

    void StartClientProcessWithSockfd(int sockfd);
    void RunRecvProcess();
    void RunSendProcess();

private:
    static void startRecvThread(long long userData);  // 普通函数没法直接获取到地址
    static void startSendThread(long long userData);

private:
    int m_clientSockfd{-1};
};